#import "gTxtEditApp.h"

@implementation gTxtEditApp

- (void)applicationDidFinishLaunching:(id)unused
{
	rect = [ UIHardware fullScreenApplicationContentRect ];
	
	rect.origin.x = 0.0f;
	rect.origin.y = 0.0f;
	
	window = [ [ UIWindow alloc ] initWithFrame: rect ];
	[ window makeKeyAndVisible ];
	
	mainView = [ [ UITransitionView alloc ] initWithFrame: rect ];
	[ window setContentView: mainView ];
	
	gTxtEditView* gView = [ [ gTxtEditView alloc ] initWithFrame: rect ];
	[ mainView addSubview: gView ];

	[gView reset];
}

- (void)dealloc
{
	[ window release ];
	[ mainView release ];
	//[ gView release ];
	[ super dealloc ];
}

@end